Holds data about a decoded mesh. More...
Public Member Functions | |
DecodedMeshData () | |
DecodedMeshData (DecodedMeshData &&other) | |
~DecodedMeshData () | |
Public Attributes | |
nkMemory::BufferCast< nkMemory::Buffer > | _vertexBuffers |
List of vertex buffers, binary packed. | |
nkMemory::Buffer | _indexBuffer |
The index buffer, if available. | |
MeshInputLayout | _inputLayout |
The input layout describing the vertex data. | |
unsigned int | _vertexCount |
The number of vertices available. | |
unsigned int | _indexCount |
The number of indices available. | |
INDEX_FORMAT | _indexFormat |
The indices format in memory. | |
Holds data about a decoded mesh.
nkGraphics::DecodedMeshData::DecodedMeshData | ( | ) |
Default constructor. Defaults all structures to empty or 0.
nkGraphics::DecodedMeshData::DecodedMeshData | ( | DecodedMeshData && | other | ) |
Move constructor.
other | The data to move over. |
nkGraphics::DecodedMeshData::~DecodedMeshData | ( | ) |
Destructor.